Date Range Period Parameters
Representation of parameters that can be applied to a DateRangeOption, in order to shift the start date and multiply the number of periods in certain selections.
Since
MD2024
Parameters
period Offset
If the DateRangeOption is based on a period (day, week, month, quarter, year) then shift the starting date by that amount
period Multiplier
If the DateRangeOption is based on a period, multiply the length of the date range to be this number of those periods. Note: this extends the period by moving the starting date, not the end. Future implementations might move the ending date with negative multipliers.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun with(newOffset: Int = periodOffset, newMultiplier: Int = periodMultiplier): DateRangePeriodParameters